import numpy as np


def rmse(real, pred, cap=49500):
    s = 1 - np.sqrt(np.mean((real - pred) ** 2)) / cap
    return s * 100
